@import "./data";
@import "./color";
@import "./mixin";
// 版心区域
.section_center {
    width: $type_area_width;
    margin: 0 auto;
    overflow: hidden;
    background-color: #fff;
    // 广告位
    .advertising {
        margin-top: 15px;
        height: 60px;
        img {
            width: 100%;
            height: 60px;
        }
    }
    // 购物车头部
    .shop_cart_header {
        height: 100px;
        .shop_cart_logo {
            width: 190px;
            height: 100px;
            float: left;
            img {
                margin-top: 20px;
            }
        }
        .shop_cart_search_inp {
            position: relative;
            float: right;
            width: 400px;
            margin-top: 34px;
            .search_box {
                float: left;
                width: 318px;
                height: 28px;
                border: 2px solid #f50;
                border-right: 0 none;
                i {
                    float: left;
                    width: 13px;
                    height: 13px;
                    margin: 8px 0 0 11px;
                    background: url(../img//shop_cart_bg.png) -200px -70px no-repeat;
                }
                input {
                    outline: none;
                    float: left;
                    width: 285px;
                    height: 20px;
                    line-height: 20px;
                    padding: 4px 0;
                    margin-left: 9px;
                    border: 0;
                    background: #fff;
                }
            }
            .search_btn {
                float: left;
                width: 80px;
                height: 32px;
                line-height: 32px;
                background: #f50;
                text-align: center;
                font-size: 14px;
                color: #fff;
                cursor: pointer;
            }
        }
    }
    // 送货地址部分
    .distribution {
        height: 34px;
        line-height: 34px;
        border-bottom: 2px solid #ddd;
        position: relative;
        clear: both;
        font-size: 12px;
        color: #666;
    }
    // 购物车部分
    .cart_wrapper {
        clear: both;
        .cart_main_header {
            height: 32px;
            border: 1px solid #ddd;
            white-space: nowrap;
            margin-bottom: 23px;
            .cart_th {
                float: left;
                height: 32px;
                line-height: 32px;
                text-align: left;
                font-size: 12px;
                color: #666;
            }
            .cart_chk {
                position: relative;
                width: 250px;
                text-align: left;
                overflow: hidden;
                .cart_choose_all {
                    margin: 0 10px;
                }
                span {
                    position: relative;
                    top: -2px;
                }
            }
            .name_title {
                width: 218px;
            }
            .specification_title {
                width: 145px;
            }
            .price_title {
                width: 153px;
            }
            .number_title {
                width: 130px;
            }
            .subtotal_title {
                width: 175px;
                padding-left: 15px;
            }
            .operation_title {
                width: 100px;
            }
        }
        .shop_body {
            position: relative;
            .m_store {
                background-color: #fff;
                margin-bottom: 30px;
                zoom: 1;
                color: #333;
                .store_title {
                    position: relative;
                    z-index: 2;
                    height: 26px;
                    margin-bottom: 7px;
                    line-height: 26px;
                    .store_title_left {
                        float: left;
                        .choose_my_store {
                            // width: 15px;
                            // height: 15px;
                            margin: 10px 10px 0;
                            overflow: hidden;
                        }
                        .store-name {
                            display: inline-block;
                            color: #333;
                            font-size: 12px;
                            font-weight: bold;
                            position: relative;
                            top: -2px;
                        }
                    }
                    .store_title_right {
                        float: right;
                        margin-right: 20px;
                        font-size: 12px;
                        color: #333;
                        span {
                            color: #999;
                        }
                        em {
                            position: relative;
                            left: -5px;
                        }
                    }
                }
                .purchase_information {
                    position: relative;
                    margin-bottom: -1px;
                    padding: 15px 20px;
                    border: 1px solid #dfdfdf;
                    font-size: 12px;
                    color: #333;
                    overflow: hidden;
                    .pur_info_main {
                        .col_check {
                            float: left;
                            width: 47px;
                            position: relative;
                            height: 94px;
                            .choose_this {
                                margin: 10px 10px 0;
                            }
                        }
                        .col_goods_msg {
                            width: 392px;
                            position: relative;
                            overflow: hidden;
                            float: left;
                            .item_pic {
                                float: left;
                                width: 80px;
                                height: 80px;
                                margin-right: 15px;
                                background: #fff;
                                overflow: hidden;
                                a {
                                    display: block;
                                    position: relative;
                                    width: 78px;
                                    height: 78px;
                                    border: 1px solid #eee;
                                    overflow: hidden;
                                    img {
                                        display: block;
                                        width: 80px;
                                        height: 80px;
                                        margin: -1px 0 0 -1px;
                                    }
                                }
                            }
                            .item_name {
                                width: 239px;
                                float: left;
                                line-height: 16px;
                                color: #333;
                                font-size: 12px;
                                a {
                                    display: block;
                                    clear: both;
                                    margin-bottom: 2px;
                                    max-height: 36px;
                                    line-height: 18px;
                                    color: #333;
                                    word-break: break-all;
                                    word-wrap: break-word;
                                    overflow: hidden;
                                    &:hover {
                                        color: #f70;
                                    }
                                }
                            }
                        }
                        .col_specs {
                            float: left;
                            position: relative;
                            width: 103px;
                            height: 94px;
                            .specs_line {
                                position: relative;
                                p {
                                    color: #999;
                                    height: 18px;
                                    overflow: hidden;
                                    text-overflow: ellipsis;
                                    white-space: nowrap;
                                }
                            }
                        }
                        .col_price {
                            float: left;
                            width: 106px;
                            text-align: right;
                            height: 94px;
                            color: #333;
                            font-size: 12px;
                            .price_line {
                                span {
                                    em {
                                        position: relative;
                                        left: -5px;
                                    }
                                }
                            }
                        }
                        .col_amount {
                            float: left;
                            position: relative;
                            width: 177px;
                            text-align: center;
                            height: 94px;
                            .item_amount {
                                margin-left: 76px;
                                width: 70px;
                                height: 22px;
                                overflow: hidden;
                                text-align: center;
                                border: 1px solid #ddd;
                                color: #333;
                                .amount_reduction {
                                    outline: none;
                                    border: none;
                                    width: 22px;
                                    height: 22px;
                                    float: left;
                                    cursor: pointer;
                                }
                                .amount_inp {
                                    outline: none;
                                    border: none;
                                    width: 26px;
                                    height: 22px;
                                    color: #666;
                                    padding: 0px 0;
                                    float: left;
                                    line-height: 22px;
                                    text-align: center;
                                    font-size: 12px;
                                }
                                .amount_add {
                                    outline: none;
                                    border: none;
                                    width: 22px;
                                    height: 22px;
                                    float: left;
                                    cursor: pointer;
                                }
                            }
                        }
                        .col_sum {
                            width: 126px;
                            text-align: right;
                            word-wrap: break-word;
                            word-break: break-all;
                            overflow: hidden;
                            height: 94px;
                            float: left;
                            font-size: 12px;
                            color: #333;
                            .shop_price {
                                text-align: right;
                                word-wrap: break-word;
                                word-break: break-all;
                                overflow: hidden;
                                font-weight: bold;
                                span {
                                    position: relative;
                                    left: -5px;
                                }
                            }
                        }
                        .col_del {
                            float: left;
                            margin-left: 115px;
                            width: 58px;
                            height: 94px;
                            a {
                                font-size: 12px;
                                color: #666;
                                &:hover {
                                    color: $nav_import_color;
                                }
                            }
                        }
                    }
                }
            }
        }
        .settlement {
            margin-top: 30px;
            height: 58px;
            background: #fff;
            line-height: 58px;
            border: 1px solid #ddd;
            position: relative;
            .settlement_left {
                float: left;
                height: 100%;
                overflow: hidden;
                .choose_all_del {
                    position: relative;
                    width: auto;
                    height: 100%;
                    // margin-top: 20px;
                    float: left;
                    margin: 10px 10px 0;
                    overflow: hidden;
                    font-size: 12px;
                    color: #666;
                    .del_check {
                        margin: 2px 9px 0 0;
                        position: relative;
                        top: -8px;
                    }
                    .check_label {
                        position: relative;
                        top: -10px;
                    }
                    .del_your_choose {
                        margin-left: 20px;
                        position: relative;
                        top: -10px;
                        cursor: pointer;
                    }
                }
            }
            .settlement_right {
                float: right;
                width: 420px;
                height: 100%;
                .cart_collect {
                    position: relative;
                    float: left;
                    color: #999;
                    font-size: 12px;
                    .save_ship {
                        float: left;
                        position: relative;
                        .selected_prods {
                            margin-top: 6px;
                            .alchoose {
                                position: relative;
                                margin-right: 20px;
                                cursor: pointer;
                                float: right;
                                line-height: 22px;
                                margin-top: 0;
                                .now_sale_goods {
                                    color: #333;
                                    i {
                                        color: $nav_import_color;
                                        font-weight: bold;
                                        font-size: 13px;
                                    }
                                }
                            }
                        }
                    }
                    .cart_total_price {
                        float: left;
                        line-height: 22px;
                        .split {
                            float: left;
                            width: 1px;
                            height: 38px;
                            margin-top: 12px;
                            margin-right: 16px;
                            font-size: 0;
                            background: #ddd;
                        }
                        .sn_sum_price {
                            text-align: right;
                            padding-top: 6px;
                            width: 166px;
                            overflow: hidden;
                            span {
                                display: inline-block;
                                vertical-align: middle;
                                margin-top: -3px;
                                float: left;
                                color: #333;
                                position: relative;
                                top: 4px;
                            }
                            b {
                                float: left;
                                color: #f60;
                                vertical-align: middle;
                                font-weight: 400;
                                display: inline-block;
                                i {
                                    font-size: 14px;
                                }
                                em {
                                    font-size: 22px;
                                    position: relative;
                                    left: -5px;
                                }
                            }
                        }
                        .cart-extra-price {
                            color: #999;
                            margin-top: -3px;
                            height: 23px;

                            span {
                                em {
                                    position: relative;
                                    left: -5px;
                                }
                            }
                        }
                    }
                    .pay_for {
                        float: left;
                        position: relative;
                        padding-left: 22px;
                        a {
                            position: relative;
                            display: block;
                            width: 120px;
                            height: 60px;
                            line-height: 60px;
                            margin-top: -1px;
                            margin-right: -1px;
                            text-align: center;
                            font-size: 18px;
                            font-weight: 700;
                            font-family: "Microsoft YaHei";
                            color: #fff;
                            background-color: #bbb;
                            cursor: not-allowed;
                            &.active{
                                background-color: $nav_import_color;
                                cursor: pointer;
                            }
                        }
                    }
                }
            }
        }
    }
}
